package com.cyf.plc.bean

import androidx.annotation.Keep
import com.squareup.moshi.JsonClass

@Keep
@JsonClass(generateAdapter = true)
class WeatherBean {

    var now: NowBean? = null
    var update: UpdateBean? = null
    var basic: BasicBean? = null
    var status: String? = null

    @Keep
    @JsonClass(generateAdapter = true)
    class NowBean {
        var hum: String? = null
        var vis: String? = null
        var pres: String? = null
        var pcpn: String? = null
        var fl: String? = null
        var wind_sc: String? = null
        var wind_dir: String? = null
        var wind_spd: String? = null
        var cloud: String? = null
        var wind_deg: String? = null
        var tmp: String? = null
        var cond_txt: String? = null
        var cond_code: String? = null
    }

    @Keep
    @JsonClass(generateAdapter = true)
    class UpdateBean {
        var loc: String? = null
        var utc: String? = null
    }

    @Keep
    @JsonClass(generateAdapter = true)
    class BasicBean {
        var admin_area: String? = null
        var tz: String? = null
        var location: String? = null
        var lon: String? = null
        var parent_city: String? = null
        var cnty: String? = null
        var lat: String? = null
        var cid: String? = null
    }
}